package com.hotel.system.mapper;

import com.hotel.system.domain.hotel.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 岗位信息 数据层
 * 
 * @author hotel
 */
public interface OrderMapper
{

    public List<Order> selectOrderList(Order order);

    public int insertOrder(Order order);

    public Order selectOrderId(String id);

    public int updateOrder(Order order);

    public int updateOrderStatus(String ids);

    Order checkOrderNameUnique(@Param(value = "orderName") String orderName, @Param(value = "deptId") Long deptId);
}
